Optimal. Leaf size=97 \[ -\frac{x}{4 \left (x^4+1\right )}-\frac{\log \left (x^2-\sqrt{2} x+1\right )}{16 \sqrt{2}}+\frac{\log \left (x^2+\sqrt{2} x+1\right )}{16 \sqrt{2}}-\frac{\tan ^{-1}\left (1-\sqrt{2} x\right )}{8 \sqrt{2}}+\frac{\tan ^{-1}\left (\sqrt{2} x+1\right )}{8 \sqrt{2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0992792, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 8, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5 \[ -\frac{x}{4 \left (x^4+1\right )}-\frac{\log \left (x^2-\sqrt{2} x+1\right )}{16 \sqrt{2}}+\frac{\log \left (x^2+\sqrt{2} x+1\right )}{16 \sqrt{2}}-\frac{\tan ^{-1}\left (1-\sqrt{2} x\right )}{8 \sqrt{2}}+\frac{\tan ^{-1}\left (\sqrt{2} x+1\right )}{8 \sqrt{2}} \]
Antiderivative was successfully verified.
[In] Int[x^4/(1 + 2*x^4 + x^8),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 16.5481, size = 82, normalized size = 0.85 \[ - \frac{x}{4 \left (x^{4} + 1\right )} - \frac{\sqrt{2} \log{\left (x^{2} - \sqrt{2} x + 1 \right )}}{32} + \frac{\sqrt{2} \log{\left (x^{2} + \sqrt{2} x + 1 \right )}}{32} + \frac{\sqrt{2} \operatorname{atan}{\left (\sqrt{2} x - 1 \right )}}{16} + \frac{\sqrt{2} \operatorname{atan}{\left (\sqrt{2} x + 1 \right )}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**4/(x**8+2*x**4+1),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.15934, size = 90, normalized size = 0.93 \[ \frac{1}{32} \left (-\frac{8 x}{x^4+1}-\sqrt{2} \log \left (x^2-\sqrt{2} x+1\right )+\sqrt{2} \log \left (x^2+\sqrt{2} x+1\right )-2 \sqrt{2} \tan ^{-1}\left (1-\sqrt{2} x\right )+2 \sqrt{2} \tan ^{-1}\left (\sqrt{2} x+1\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[x^4/(1 + 2*x^4 + x^8),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 68, normalized size = 0.7 \[ -{\frac{x}{4\,{x}^{4}+4}}+{\frac{\arctan \left ( 1+\sqrt{2}x \right ) \sqrt{2}}{16}}+{\frac{\arctan \left ( \sqrt{2}x-1 \right ) \sqrt{2}}{16}}+{\frac{\sqrt{2}}{32}\ln \left ({\frac{1+{x}^{2}+\sqrt{2}x}{1+{x}^{2}-\sqrt{2}x}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^4/(x^8+2*x^4+1),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.853659, size = 111, normalized size = 1.14 \[ \frac{1}{16} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x + \sqrt{2}\right )}\right ) + \frac{1}{16} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x - \sqrt{2}\right )}\right ) + \frac{1}{32} \, \sqrt{2} \log \left (x^{2} + \sqrt{2} x + 1\right ) - \frac{1}{32} \, \sqrt{2} \log \left (x^{2} - \sqrt{2} x + 1\right ) - \frac{x}{4 \,{\left (x^{4} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^4/(x^8 + 2*x^4 + 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.271101, size = 173, normalized size = 1.78 \[ -\frac{4 \, \sqrt{2}{\left (x^{4} + 1\right )} \arctan \left (\frac{1}{\sqrt{2} x + \sqrt{2} \sqrt{x^{2} + \sqrt{2} x + 1} + 1}\right ) + 4 \, \sqrt{2}{\left (x^{4} + 1\right )} \arctan \left (\frac{1}{\sqrt{2} x + \sqrt{2} \sqrt{x^{2} - \sqrt{2} x + 1} - 1}\right ) - \sqrt{2}{\left (x^{4} + 1\right )} \log \left (x^{2} + \sqrt{2} x + 1\right ) + \sqrt{2}{\left (x^{4} + 1\right )} \log \left (x^{2} - \sqrt{2} x + 1\right ) + 8 \, x}{32 \,{\left (x^{4} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^4/(x^8 + 2*x^4 + 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.509865, size = 82, normalized size = 0.85 \[ - \frac{x}{4 x^{4} + 4} - \frac{\sqrt{2} \log{\left (x^{2} - \sqrt{2} x + 1 \right )}}{32} + \frac{\sqrt{2} \log{\left (x^{2} + \sqrt{2} x + 1 \right )}}{32} + \frac{\sqrt{2} \operatorname{atan}{\left (\sqrt{2} x - 1 \right )}}{16} + \frac{\sqrt{2} \operatorname{atan}{\left (\sqrt{2} x + 1 \right )}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**4/(x**8+2*x**4+1),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.296154, size = 111, normalized size = 1.14 \[ \frac{1}{16} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x + \sqrt{2}\right )}\right ) + \frac{1}{16} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x - \sqrt{2}\right )}\right ) + \frac{1}{32} \, \sqrt{2}{\rm ln}\left (x^{2} + \sqrt{2} x + 1\right ) - \frac{1}{32} \, \sqrt{2}{\rm ln}\left (x^{2} - \sqrt{2} x + 1\right ) - \frac{x}{4 \,{\left (x^{4} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^4/(x^8 + 2*x^4 + 1),x, algorithm="giac")
[Out]